package com.chance.cc.crawler.development.command.publish.jfdaily;

import com.chance.cc.crawler.development.command.script.news.NewsCrawlerScript;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2020/12/21 11:14
 * @Description
 *      上观网网
 **/
public class JfadailyPublishCrawlerJob {
    private static final String domainId = "jfdaily";

    public static void main(String[] args) {
        publishCrawlerJob();
    }

    public static void publishCrawlerJob(){
        //发布采集job
//        CrawlerJob crawlerJob = JfdailyCrawlerScheduleJob.publishjfdailyCrawlerScheduleJobInfo();
//        NewsScheduleTrigger.publishScheduleTriggerInfo(crawlerJob.generateCrawlerKey(), crawlerJob.generateCrawlerTriggerKey(),domainId,"上观网");
        NewsCrawlerScript.publishCrawlerNodeScript(domainId);
    }
}
